$ctl-width: 44px;
$ctl-height: auto;
$ctl-bar-height: 20px;

$ctl-tool-item-width: 30px;
$ctl-tool-item-height: 30px;

.wb-ctl-zone {
    position: absolute;
    right: 0;
    top: 0px;

    .wb-ctl {
        width: $ctl-width;
        height: $ctl-height;
        background: rgb(83,83,83);
        border-radius: 2px;
        

        .ctl-bar{
            height: $ctl-bar-height;
            color: white;
            background: rgb(91, 91, 91);
            text-align: center;
            font-weight: bold;
            padding: 4px 0;
            cursor: pointer;

            &::after{
                content: ':::';
            }
        }

        .ctl-tools {
            padding: 10px 0;

            .ctl-tool-box{
                height: 40px;
                position: relative;
                
                .tool-item {
                    display: block;
                    width: $ctl-tool-item-width;
                    height: $ctl-tool-item-height;
                    margin: 0 auto;
                    background-size: 70% !important;
                    cursor: pointer;
                    
                    &.move {
                        background:transparent url(../../../assets/images/icons/toolbox_move.png) no-repeat center;
                    }
 
                    &.pen {
                        background:transparent url(../../../assets/images/icons/toolbox_pen.png) no-repeat center;
                    }
                    &.text {
                        background:transparent url(../../../assets/images/icons/toolbox_text.png) no-repeat center;
                    }
                    &.delete {
                        background:transparent url(../../../assets/images/icons/toolbox_delete.png) no-repeat center;
                    }
                    &.cutter {
                        background:transparent url(../../../assets/images/icons/toolbox_cutter.png) no-repeat center;
                    }
                    &.cloud {
                        background:transparent url(../../../assets/images/icons/toolbox_cloud.png) no-repeat center;
                    }
                    &.team {
                        background:transparent url(../../../assets/images/icons/toolbox_team.png) no-repeat center;
                    }
                    &.mute_video {
                        background:transparent url(../../../assets/images/icons/toolbox_mute_video.png) no-repeat center;
                    }

                    box-sizing: border-box;
                    border-radius: 2px;
                }

                .tool-palette-box{
                    position: absolute;
                    left: -125px;
                    top: -50%;
                    z-index: 100;
                    display: none;
                    // transform: rotateY(-50%);
                }

                &.active {
                    .tool-item {
                        border: 1px solid rgb(124,124,124);
                        background-color: rgb(56,56,56);
                    }
                }

                &:hover{
                    .tool-palette-box {
                        display: block;
                    }

                    .tool-item:not(.mute_video) {
                        border: 1px solid rgb(124,124,124);
                        background-color: rgb(56,56,56);
                    }
                }

            }
        }
    }

}